﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin_memorial_Type.Aspx.cs"
    Inherits="Master_Admin_memorial_Type" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>纪念馆分类</title>
    <link href="Css/Css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form runat="server">
    <table width="100%" border="0" align="center" cellpadding="" cellspacing="1" class="border">
        <tr>
            <td height="22" colspan="2" align="center" class="title">
                <b>纪 念 馆 类 型 管 理</b>
            </td>
        </tr>
    </table>
    <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border" align="center">
        <tr class="tdbg">
            <td colspan="2" align="left">
                您现在的位置：纪念馆类型列表&nbsp;&gt;&gt;&nbsp;<font color="#FF6600">所有列表</font>
            </td>
        </tr>
    </table>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="0"
        CellSpacing="1" Width="100%" GridLines="None" CssClass="border" HorizontalAlign="Center"
        OnRowEditing="GridView1_RowEditing" 
        onrowcancelingedit="GridView1_RowCancelingEdit" 
        onrowupdating="GridView1_RowUpdating" 
        onrowdatabound="GridView1_RowDataBound">
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <Columns>
            <asp:TemplateField HeaderText="编号">
                <ItemTemplate>
                    <%#Eval("id") %>
                </ItemTemplate>
                   <EditItemTemplate>
                       <asp:Label ID="LbID" runat="server" Text='<%#Eval("id") %>'></asp:Label>
                   
                   </EditItemTemplate>
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Height="30" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="分类名称">
                <EditItemTemplate>
                    <asp:TextBox ID="TypeName_update" runat="server" Text='<%#Eval("TypeName") %>' ></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <%#Eval("TypeName") %>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="扣除点数">
                <EditItemTemplate>
                    <asp:TextBox ID="Point_update" runat="server"  Text='<%#Eval("TypePoint") %>' Width="50" MaxLength="7" ></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <%#Eval("TypePoint") %>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="简要说明">
                <EditItemTemplate>
                    <asp:TextBox ID="Readme_update" runat="server"  Width="300" MaxLength="40" Text='<%#Eval("Readme") %>' ></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <%#Eval("Readme")%>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="排序">
                <EditItemTemplate>
                    <asp:TextBox ID="Order_update" runat="server" Width="50" MaxLength="7"  Text='<%#Eval("OrderId") %>' ></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <%#Eval("OrderId")%>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="操作" ShowHeader="False">
                <EditItemTemplate>
                    <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="True" CommandName="Update"
                        Text="更新"></asp:LinkButton>
                    &nbsp;<asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" CommandName="Cancel"
                        Text="取消"></asp:LinkButton>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Edit"
                        Text="编辑"></asp:LinkButton>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle CssClass="title" />
        <EditRowStyle BackColor="#999999" />
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    </asp:GridView>
    </form>
</body>
</html>
